package 命令模式.功能键;

import 命令模式.命令类.Command;

/**
 * 功能键
 */
public class FunctionButton {
    private Command command;
    public void setCommand(Command command){
        this.command=command;
    }

    public void click(){
        command.execute();
    }
}
